﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
  <xsl:output method="html" indent="yes"/>

  <xsl:template match="Suggestion">
    <div class="srch-stats">
      Did you mean
      <!--<xsl:value-of select="OriginalQuery"/> -&gt; -->
      <xsl:variable name="url" select="SuggestedQueryUri"/>
      <a href="{$url}">
        <xsl:value-of select="SuggestedQuery"/>
      </a>
    </div>
  </xsl:template>

  <xsl:template match="Modification">
    <div class="srch-stats">
      Spellchecked term(s):
      <xsl:value-of select="OriginalQuery"/> -&gt;
      <xsl:value-of select="ModifiedQuery"/>
    </div>
  </xsl:template>

</xsl:stylesheet>
